<?php
declare (strict_types=1);

namespace app\api\controller;

use app\api\common\JwtAuth;
use app\BaseController;
use EasyWeChat\Factory;
use think\App;

class ApiBase extends BaseController
{

    #[JwtAuth]
    public $Auth;

    public $wecaht;

    public function __construct(App $app)
    {

        parent::__construct($app);

        $this->Auth = JwtAuth::getInstance();

        $this->wecaht = Factory::officialAccount(config('wechat'));

    }

}
